import Vue from 'vue'
import App from './App.vue'
import "@/mobile/flexible" // 适配
import "@/styles/reset.css" // 初始化样式
import axios from './utils/request'




import router from '@/router'

Vue.prototype.$axios = axios

//注册tabbar组件
import { Tabbar, TabbarItem ,Image as VanImage,NavBar,Col, Row , Cell, CellGroup,Icon ,Search } from 'vant';
Vue.use(Search);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Col);
Vue.use(Row);
Vue.use(VanImage);
Vue.use(NavBar);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Icon)

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
